Added unit tests for Gtk+ testing utilities.
authorTim Janik <timj@src.gnome.org>
Tue, 20 Nov 2007 15:03:28 +0000 (15:03 +0000)
committerTim Janik <timj@src.gnome.org>
Tue, 20 Nov 2007 15:03:28 +0000 (15:03 +0000)
commit3cf208ef5e7dab5b8aafe794bfa15e1c4731cca8
treee4b2207684614d079699a9f80b682ba9084a1918
parent936d27a475e9ecfb2c79dd1c0c46d679fea815c8
Added unit tests for Gtk+ testing utilities.

* gtk/tests/testing.c: added a sample test program that tests Gtk+ test
utility functions. some g_test_* related portions are disabled and need
to be enabled once Gtk+ depends on a new glib with the GLib testing
framework integrated.

* gtk/tests/Makefile.am: new subdirectory to include quick Gtk+ tests.
added exemplary test rules to run tests inside Xvfb. this needs to depend
on gtester for full fledged testing.

* gtk/Makefile.am: build gtk+/gtk/tests, define -DGTK_ENABLE_BROKEN when
collecting _get_type functions to catch e.g. gtk_text_get_type().

* configure.in: create gtk/tests/Makefile.in and gtk/tests/Makefile.

svn path=/trunk/; revision=19011
configure.in
gtk/Makefile.am
gtk/tests/Makefile.am [new file with mode: 0644]
gtk/tests/testing.c [new file with mode: 0644]